package edu.sctu.zcy.month201505.day20150522;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Created by user24 on 2015/5/22.
 */
public class FirstPlayer {


    List<PlaysNature> list1 = new ArrayList<>();
    Scanner scanner = new Scanner(System.in);

    public List<PlaysNature> setPlayer(){

        PlaysNature playsNature = new PlaysNature();

        System.out.println("请输入第一个玩家的ID:");
        int ID = scanner.nextInt();
        System.out.println("请输入第一个玩家的名字：");
        String name = scanner.next();

        playsNature.playsID = ID;
        playsNature.name = name;

        list1.add(playsNature);

        return list1;

    }




}
